<?php

namespace CMBUBank\UBank\Request\Account;

use CMBUBank\UBank\Request\UBankBaseRequest;
use CMBUBank\UBank\Response\Account\AccountHandleAccountListResponse;

class AccountHandleAccountListRequest extends UBankBaseRequest
{
    protected $code = 'DCLISACC';

    protected $response = AccountHandleAccountListResponse::class;

    protected $logTip = '查询可经办的账户列表';

    private $busCode;

    private $busMode;

    public function generate(): array
    {
        return [
            'buscod' => $this->busCode,
            'busmod' => $this->busMode,
        ];
    }

    public function setBusCode(string $busCode): void
    {
        $this->busCode = $busCode;
    }

    /**
     * @param mixed $busMode
     */
    public function setBusMode($busMode): void
    {
        $this->busMode = $busMode;
    }
}